package com.simtop.hj.service;

import com.simtop.hj.common.ServerResponse;
import com.simtop.hj.pojo.User;

public interface QuestionService {
    ServerResponse getQuestion(int[] questionIds,Integer pageNum,Integer pageSize);

    ServerResponse provinceStatistics();

    ServerResponse doPicture(Integer questionId,Integer category);

    ServerResponse commitPartOneGrade(Double grade, Integer userId);

    ServerResponse commitPartGrade(Double grade, Integer gradeCategory, Integer questionGradeId);

    ServerResponse getModuleGrade(User user, Integer pageNum, Integer pageSize);

    ServerResponse getWineBrand(Integer choose);

    ServerResponse getTendency(String[] brandNameArray);

    ServerResponse getWineElement(String[] brandNameArray);

    ServerResponse getWineAvg(String[] brandNameArray, String productCategory);

    ServerResponse calculatePrice(String brandName,int[] months);
}
